angular.module(moduleName + '.controllers')
  .controller('HomeCtrl', function ($rootScope, $scope, $state) {
    var vm = this;

    //轮播图片json
    vm.slides = {
      "pagerPosition":"",
      "items":[{
     'path': 'img/home/home-banner0.png',

    },{
      'path': 'img/home/home-banner1.png',
    }]
    };

    vm.search = '';


    vm.goMessage = goMessage;//消息列表
    vm.goContact = goContact;//客服

    function goMessage () {
      $state.go('message');
    }
    function goContact () {
      $state.go('helpOnline')
    }
  });
